#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"

void test() {
	LTNode* plist=NULL;
	LTInit(&plist);
	LTPushBack(plist, 1);
	LTPushFront(plist, 2);
	LTPushFront(plist, 3);
	LTNode* find =LTFind(plist, 2);
	LTInsert(find, 66);
	LTErase(find);
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;
}

int main() {
	test();
}